package com.chen.winnerframework.domain.dto.notice;

import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;

/**
 * 通知公告更新 数据传输对象
 *
 * @author chengy
 * @date 2022/11/21
 */
public class NoticeUpdateDto extends NoticeDto {

    /**
     * 主键id
     */
    @NotNull(message = "id不能为空")
    @ApiModelProperty(value = "主键id", required = true)
    private Integer id;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

}
